<?php
	class Skill extends AppModel {
    var $name = 'Skill';
    var $scaffold;
    var $hasAndBelongsToMany = array(
            'User' => array('className' => 'User',
                        'joinTable' => 'skills_users',
                        'foreignKey' => 'skill_id',
                        'associationForeignKey' => 'user_id',
                        'unique' => true
            ),
            'Job' => array('className' => 'Job',
                        'joinTable' => 'jobs_skills',
                        'foreignKey' => 'skill_id',
                        'associationForeignKey' => 'job_id',
                        'unique' => true
                        )            
                        );
}

?>